﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
	
namespace BEGDC.PreContract.BLL
{
	public partial interface IEmployee
    {
        BEGDC.PreContract.DAL.Employee GetEmployeeByADAccount(string adAccount);

        BEGDC.PreContract.DAL.Employee GetEmployeeByCILAccount(string cilAccount);

        DataTable GetEmployeeBD();

        string GetDataPermission(int employeeId);

        //Joan.Lu 2008-09-25
        //Check if the user has asb or lucent permission
        bool CheckEntityPermission(long employeeID,string asbOrLucent);
        string GetEntityPermission(long employeeID);
        bool CheckReportPermission(long employeeID);

        //Check if the user is allowed to download saved history reports
        bool AllowedDownload(long employeeID);

        //Get by filter
        DataTable GetEmployeesByPCATOrRole_DataTable(string filter);
	}
}



